package cn.wolfcode.wechat.mapper;

import cn.wolfcode.wechat.domain.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MenuMapper {
    int insert(@Param("menu") Menu menu);

    int update(@Param("menu") Menu menu);

    List<Menu> getRootMenu();

    List<Menu> getSubMenu(Long id);
}
